package com.ldw.oauth2.server.service.impl;

import com.ldw.oauth2.server.domain.TbPermission;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ldw.oauth2.server.mapper.TbPermissionMapper;
import com.ldw.oauth2.server.service.TbPermissionService;

import java.util.List;

/**
* 
* <p>Title: TbPermissionServiceImpl</p>
* <p>Description: </p>
* @author: dwLiu
* @date: 2020/3/17 13:37
*/
@Service
public class TbPermissionServiceImpl implements TbPermissionService{

    @Resource
    private TbPermissionMapper tbPermissionMapper;

    @Override
    public List<TbPermission> selectByUserId(Long userId) {
        return tbPermissionMapper.selectByUserId(userId);
    }
}
